Treasure Hunter Z II: The Escape

560 character "roguelike" for #TweetTweetJam!

After having looted the buried gold of a forgotten civilization, you presumed that the getaway would be equally as safe as your entrance. The resident souls, however, have taken offense to your pilfering and have risen up to strike you down! With their hungering claws grasping at your heels, you must reach the helicopter before you fall to the inevitable hordes of the undead!

TileCharacter(s)
Dr. Z1-9
escape helicopterH
hungering undeadö
corpse,
tree*
ruins#
ocean~
  • Controls
    • Arrow keys or some other combination of arbitrary keys due to how keys are detected.
    • The undead move when you do!
  • Gameplay
    • Find the helicopter to escape.
    • Flee from or kill the undead with two strikes.
      • Use the trees and ruins to hide! 
    • Don't die!


    Repository @ https://github.com/kettek/THZ-II. You can also copy and paste the following into the browser developer console to play:

    M=Math,A=Array
    R=_=>M.random()*s<<0
    L=A(0,c=9,...A(30).fill(2))
    P=[]
    m=A(s=(a=90)*a).fill('.')
    B=p=>{for(b=0;b<6;b+=.4)m[p+~(M.sin(b)*5)*a+M.cos(b)*5<<0]='#'}
    F=p=>P.findIndex(w=>w==p)
    C=(p,o=F(p))=>L[o]?--L[o]:m[p]=='.'?P[i]=p:m[P[0]]='.'
    H=(p,d)=>C(p+(d%a-p%a>0?1:-1)+(~~d/a-p/a>0?a:-a))
    for(i in L)P[i]=R(),B(R()),m[R()]='*'
    onkeyup=e=>{d=1-e.which%4
    for(i in L)L[i]?i-1?H(P[i],P[1]):C(P[1]+(d%2?d*a:-d-1)):r=''
    for(y=-c;y++<c;r+=`
    `)for(x=-c;x++<c;r+=T+1?T?L[T]?T-1?'ö':L[1]:',':'H':m[p]||'~')T=F(p=P[1]+y*a+x)
    console.log(L[1]?P[0]-P[1]?r:"yeet":"deth")}
    
    StatusReleased
    PlatformsHTML5
    Rating
    Rated 2.0 out of 5 stars
    (1 total ratings)
    Authorkettek
    GenreAdventure
    Tagsascii, Roguelike, Survival Horror, Top Down Adventure

    Comments

    Log in with itch.io to leave a comment.

    This is incredible. I'm seriously impressed you've made this in a single tweet. I'm going to try to make some small tweet-sized games as well, but damn! Wow.